export function createReactInstance (fiber) {//react 实例
  // 函数组件
  let instance = fiber.type
  // 类组件
  fiber.tag === 'class_component' && (instance = new fiber.type(fiber.props))

  return instance
}